    <img src="../template/admin/image/icon/latestcomments_large.png" width="32" height="32" align="left" style="margin-right:20px;" />
    
    <h3>{$txt_latest_comments} ({$result_number})</h3>
      
    
    <div class="c5t_search_form_background">
    <div class="c5t_search_form">
    <form {$form.attributes}>
    {$form.hidden}
    <!-- {$form.search_field.label} --> {$form.search_field.html}
    {$form.search_query.label} {$form.search_query.html}
    {$form.search.html}
    {$form.search_delete.html}
    </form>
    </div>
    </div>
    
    
    
    <div class="c5t_error_message" style="margin-top:20px;">
      {foreach from=$message item=item}
        <div class="c5t_error_message_item">{$item}</div>
      {/foreach}              
    </div>
    
    
    {if $delete_confirmation.dialogue == 1}
    <div class="c5t_confirmation_background">
    <div class="c5t_confirmation">
        <div class="c5t_confirmation_text">
          {$txt_sure_delete_comment}
        </div>
        <div class="c5t_confirmation_buttons">
          <a href="./commentlistall.php?do=dc&amp;c={$delete_confirmation.comment_id}#c5t_{$delete_confirmation.anchor}">{$txt_yes_sure}</a>
          <a href="./commentlistall.php?c={$delete_confirmation.comment_id}#c5t_{$delete_confirmation.comment_id}">{$txt_cancel}</a>
        </div>
    </div>
    </div>
    {/if}
    
    
    {if $delete_list_confirmation.dialogue == 1}
    
    <form name="commentlist" action="./commentlistall.php" method="POST">
    
    {foreach from=$delete_list_confirmation.list item=item}
    <input type="hidden" name="delete_comment[]" value="{$item}" />
    {/foreach}
    
    <div class="c5t_confirmation_background">
    <div class="c5t_confirmation">
        <div class="c5t_confirmation_text">
          {$txt_sure_delete_comments}
        </div>
    <input type="submit" name="submit_delete_comments_c" value="{$txt_yes_sure}"/>
    <span class="c5t_link_submit_button"><a href="./commentlistall.php">{$txt_cancel}</a></span>
    
    </div>  
    </div>
    </form>
    {/if}
    
    

    <div class="c5t_comment_list_admin">
        <form name="commentlist" action="./commentlistall.php" method="POST">
        {foreach from=$comment_list item=item}
            <a name="c5t_{$item.comment_id}"></a>
            <div class="c5t_comment_item_admin_background">
            <div class="c5t_comment_item_admin">
                <div class="c5t_comment_item_admin_details">
                    <span title="{$txt_id}: {$item.comment_id}">#{$item.comment_number}</span> - 
                    <a href="{$item.comment_author_homepage}">{$item.comment_author_name}</a> - {$item.comment_date} - {$item.comment_time}
                    - {$txt_posted_at}: <a href="{$item.identifier_url}" target="_blank" title="{$item.identifier_url}">{$item.identifier_output}</a>
                    - {$txt_author_ip_address}: {$item.comment_author_ip}
                    - <span title="{$item.comment_author_host}">{$txt_author_hostname}: {$item.hostname_output}</title>
                    - <span title="{$item.comment_author_user_agent}">{$txt_author_user_agent}: {$item.user_agent_output}</title>
                </div>
                <div class="c5t_comment_item_admin_title">{$item.comment_title}</div>
                <div class="c5t_comment_item_admin_text">{$item.frontend_text}</div>
                <div class="c5t_comment_item_admin_buttons">
                  <input type="checkbox" name="delete_comment[]" value="{$item.comment_id}" />
                  <a href="./commentlistall.php?do=d&amp;c={$item.comment_id}&amp;p={$item.previous_id}" onclick="return delete_comment('./commentlistall.php?do=dc&amp;c={$item.comment_id}#c5t_{$item.previous_id}');">{$txt_delete}</a> 
                  <a href="./comment.php?do=e&amp;c={$item.comment_id}">{$txt_edit}</a> 
                  {if $item.comment_status == $status_approved} 
                  <a href="./commentlistall.php?do=da&amp;c={$item.comment_id}#c5t_{$item.comment_id}">{$txt_disapprove}</a>
                  {else}
                  <a href="./commentlistall.php?do=a&amp;c={$item.comment_id}#c5t_{$item.comment_id}">{$txt_approve}</a>
                  {/if}
                  {call_module trigger="backend_comment_control" script_name="commentlistall.php" data=$item anchor="c5t_"}
                </div>
            </div>
            </div>
        {/foreach}
        
        <div class="c5t_confirmation_background">
        <div class="c5t_confirmation">
        <input type="submit" name="submit_delete_comments" value="{$txt_delete_comments}"/>
        <input type="checkbox" name="checkall" value="{$txt_check_all}" onclick="check_all(document.commentlist, this);"/> {$txt_check_all}
        </div>  
        </div>
          
        </form>
    </div>



    <div class="c5t_pagination">
      {if $browse_previous == 2}
        <a href="./commentlistall.php?page=1">{$txt_start}</a>
        <a href="./commentlistall.php?{$query_previous}">&laquo;&nbsp;{$txt_previous_page}</a>
      {else}
        <span>{$txt_start}</span>
        <span>&laquo;&nbsp;{$txt_previous_page}</span>
      {/if}
      
      {if $browse_next == 2}
        <a href="./commentlistall.php?{$query_next}">{$txt_next_page}&nbsp;&raquo;</a>
        <a href="./commentlistall.php?page={$result_pages}">{$txt_end}</a>
      {else}
        <span>{$txt_next_page}&nbsp;&raquo;</span>
        <span>{$txt_end}</span>
      {/if}
    </div>
    

    <div class="c5t_results_per_page">
      {$txt_results_per_page} 
      <a href="./commentlistall.php?limit=10">10</a>
      <a href="./commentlistall.php?limit=20">20</a>
      <a href="./commentlistall.php?limit=30">30</a>
      <a href="./commentlistall.php?limit=40">40</a>
      <a href="./commentlistall.php?limit=50">50</a>
      <a href="./commentlistall.php?limit=60">60</a>
      <a href="./commentlistall.php?limit=70">70</a>
      <a href="./commentlistall.php?limit=80">80</a>
      <a href="./commentlistall.php?limit=90">90</a>
      <a href="./commentlistall.php?limit=100">100</a>
      <a href="./commentlistall.php?limit=150">150</a>
    </div>